package com.kuqi.blog.service;

import com.kuqi.blog.dao.pojo.SysUser;
import com.kuqi.blog.vo.Result;
import com.kuqi.blog.vo.params.LoginParams;

/**
 * @author:kuqi
 * @createTime:2021/12/13 11:03
 * @description:
 */
public interface LoginService {
    /**
     * 登录接口
     * @param loginParams
     * @return
     */
    Result login(LoginParams loginParams);


    /**
     * 登出接口
     * @param token
     * @return
     */
    Result logout(String token);


    /**
     * 注册接口
     * @param loginParams
     * @return
     */
    Result register(LoginParams loginParams);



}
